<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<body>

<div class="sidebar" id="sidebar" th:fragment="left">
    <!--<div class="sidebar-shortcuts" id="sidebar-shortcuts">

    </div>-->
    <!-- #sidebar-shortcuts -->

    <ul class="nav nav-list">
        <li shiro:hasPermission="user:*">
            <a th:href="@{/users/home}">
                <i class="icon-user"></i>
                <span class="menu-text">用户管理</span>
            </a>
        </li>

        <li shiro:hasPermission="role:*">
            <a th:href="@{/roles/home}">
                <i class=icon-group"></i>
                <span class="menu-text">角色管理</span>
            </a>
        </li>

        <li shiro:hasPermission="admin:*">
            <a th:href="@{/admins/home}">
                <i class="icon-leaf"></i>
                <span class="menu-text">管理员管理</span>
            </a>
        </li>

        <li shiro:hasPermission="banner:*">
            <a th:href="@{/banners/}">
                <i class="icon-picture"></i>
                <span class="menu-text">轮播图管理</span>
            </a>
        </li>

        <li shiro:hasPermission="pm:*">
            <a th:href="@{/propertyMgr/}">
                <i class="icon-desktop"></i>
                <span class="menu-text">物业入驻</span>
            </a>
        </li>

        <li shiro:hasPermission="mall:*">
            <a th:href="@{/market/}" >
                <i class="icon-shopping-cart"></i>
                <span class="menu-text">商场入驻</span>
            </a>
        </li>

        <li shiro:hasPermission="liveuser:*">
            <a th:href="@{/user_property_dossier/}" >
                <i class="icon-group"></i>
                <span class="menu-text">住户审核</span>
            </a>
        </li>
        <li shiro:hasPermission="car:*">
            <a th:href="@{/car_dossier/}" >
                <i class="icon-shopping-cart"></i>
                <span class="menu-text">车辆审核</span>
            </a>
        </li>

        <li shiro:hasPermission="content:*">
            <a th:href="@{/content/}" >
                <i class="icon-bell-alt"></i>
                <span class="menu-text">活动公告</span>
            </a>
        </li>

        <li shiro:hasPermission="report:*">
            <a th:href="@{/pm/report/}" >
                <i class="icon-legal"></i>
                <span class="menu-text">报事报修</span>
            </a>
        </li>

        <li shiro:hasPermission="fee:*">
            <a th:href="@{/fee/home/}" >
                <i class="icon-renminbi"></i>
                <span class="menu-text">缴费查询</span>
            </a>
        </li>

         <li shiro:hasPermission="pmbill:*">
            <a href="javascript:void(0);" class="dropdown-toggle">
                <i class="icon-list"></i>
                <span class="menu-text">物业缴费</span>
                <b class="arrow icon-angle-down"></b>
            </a>
            <ul class="submenu">
                <li>
                    <a th:href="@{/pmbill/needpay}">
                        <i class="icon-double-angle-right"></i>
                        未缴账单
                    </a>
                </li>
                <li>
                    <a th:href="@{/pmbill/paid}">
                        <i class="icon-double-angle-right"></i>
                        已缴账单
                    </a>
                </li>
            </ul>
        </li>
    </ul>

    <!-- /.nav-list -->

<div class="sidebar-collapse" id="sidebar-collapse">
    <i class="icon-double-angle-left" data-icon1="icon-double-angle-left"
       data-icon2="icon-double-angle-right"></i>
</div>

<script type="text/javascript">
    try {
        ace.settings.check('sidebar', 'collapsed')
    } catch (e) {
    }
</script>
</div>
<div id="updatePwd_modal" class="modal">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">修改密码</div>
            <div class="modal-body">
                <div class="form-horizontal" role="form" id="updatePwd_form">
                    <input type="hidden" name="id"/>
                    <div class="space-4"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">原始密码<span class="red">*</span></label>
                        <div class="col-sm-9">
                            <input type="password" name="oldPwd" placeholder="请输入原始密码" class="col-xs-8 col-sm-8"/>
                            <span class="help-button" data-rel="popover" data-trigger="hover" data-placement="right"
                                  data-content="密码为长度为6-20个字符" title="" data-original-title="">?</span>
                        </div>
                    </div>
                    <div class="space-4"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">新密码<span class="red">*</span></label>
                        <div class="col-sm-9">
                            <input type="password" name="newPwd" placeholder="请输入新密码" class="col-xs-8 col-sm-8"/>
                            <span class="help-button" data-rel="popover" data-trigger="hover" data-placement="right"
                                  data-content="密码为长度为6-20个字符" title="" data-original-title="">?</span>
                        </div>
                    </div>
                    <div class="space-4"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label no-padding-right">确认密码<span class="red">*</span></label>
                        <div class="col-sm-9">
                            <input type="password" name="confirmPwd" placeholder="请再次输入新密码" class="col-xs-8 col-sm-8"/>
                            <span class="help-button" data-rel="popover" data-trigger="hover" data-placement="right"
                                  data-content="密码为长度为6-20个字符" title="" data-original-title="">?</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button class="btn btn-success btn-sm" id="updatePwd_btn">
                    <i class="icon-save"></i>
                    保存
                </button>
                <button class="btn btn-danger btn-sm" data-dismiss="modal">
                    <i class="icon-remove"></i>
                    取消
                </button>
            </div>
        </div>
    </div>
</div>
</body>
</html>